Modbus Client
aviso
Desabilite o modo escuro caso a aplicação não esteja aparecendo.
Monte as requisições que o MHO Keeper deve fazer aos dispositivos do tipo "Server" na rede Modbus.
- Settings
- Data
No data
No selection
schema.json
{"type": "object","properties": {"timeconfig": {"type": "object","title": "Requisitions","properties": {"polling": {"type": "integer","description": "Polling interval in ms"},"timeout": {"type": "integer","description": "Timeout in ms"},"version": {"type": "integer","description": "File version for control"}}},"requisitions": {"type": "array","items": {"type": "object","title": "Requisitions","properties": {"sv": {"type": "integer","description": "Server ID requisited","minimum": 1,"maximum": 247,"default": 1},"fc": {"type": "integer","oneOf": [{"const": 1,"title": "01 - Read Coils"},{"const": 2,"title": "02 - Read Input Contacts"},{"const": 3,"title": "03 - Read Holding Registers"},{"const": 4,"title": "04 - Read Input Register"},{"const": 5,"title": "05 - Write Single Coil"},{"const": 6,"title": "06 - Write Single Register "},{"const": 15,"title": "15 - Write Multiple Coils"},{"const": 16,"title": "16 - Write Multiple Registers"}]},"bo": {"type": "integer","minimum": -2,"maximum": 2,"description": "Offset to handle misinterpretation of register address. Normally 0, -1 or 1"},"add": {"type": "integer","description": "Register address of data"},"qnt": {"type": "integer","description": "Quantity of registers that will be read/written in the requisition","minimum": 1},"vla": {"type": "string","description": "Initial value to be written (use , to separate more values)"},"dt": {"type": "integer","description": "Size of register","oneOf": [{"const": 2,"title": "Word (16 bits)"},{"const": 4,"title": "Double Word (32 bits)"},{"const": 8,"title": "Long Word (64 bits)"}]},"t": {"type": "integer","description": "Type of register","oneOf": [{"const": 0,"title": "Signed Int"},{"const": 1,"title": "Unsigned Int"},{"const": 5,"title": "Float/Precision"}]},"bs": {"type": "boolean","description": "Invert byte order"},"ws": {"type": "boolean","description": "Invert word order"},"dws": {"type": "boolean","description": "Invert double word order"},"tobin": {"type": "boolean","description": "Transform data to binary read"},"binA": {"type": "string","minLength": 16,"maxLength": 16,"description": "Array of bits converted as status/control word"},"mult": {"type": "number","description": "Multiplier value to post process data"},"sum": {"type": "number","description": "Sum value to post process data"},"smo": {"type": "boolean","description": "Post process order","oneOf": [{"const": false,"title": "value.mult + sum"},{"const": true,"title": "(value + sum).mult"}]}},"required": ["sv","fc","add"]}}}}
uischema.json
{"type": "VerticalLayout","elements": [{"type": "HorizontalLayout","elements": [{"type": "Control","label": "Polling","scope": "#/properties/timeconfig/properties/polling"},{"type": "Control","label": "Timeout","scope": "#/properties/timeconfig/properties/timeout"},{"type": "Control","label": "Version","scope": "#/properties/timeconfig/properties/version"}]},{"type": "ListWithDetail","scope": "#/properties/requisitions","options": {"detail": {"type": "VerticalLayout","elements": [{"type": "HorizontalLayout","elements": [{"type": "Control","scope": "#/properties/bo","label": "Base Offset [bo]"},{"type": "Control","scope": "#/properties/sv","label": "Server ID [sv]"},{"type": "Control","scope": "#/properties/fc","label": "Function Code [fc]"}]},{"type": "HorizontalLayout","elements": [{"type": "Control","scope": "#/properties/add","label": "Address [add]"},{"type": "Control","scope": "#/properties/qnt","label": "Quantity [qnt]","rule": {"effect": "DISABLE","condition": {"scope": "#/properties/fc","schema": {"enum": [5,6]}}}}]},{"type": "Control","label": "Initial value [vla]","scope": "#/properties/vla","rule": {"effect": "SHOW","condition": {"scope": "#/properties/fc","schema": {"enum": [5,6,15,16]}}}},{"type": "VerticalLayout","elements": [{"type": "HorizontalLayout","elements": [{"type": "Control","label": "Data Type [dt]","scope": "#/properties/dt","rule": {"effect": "HIDE","condition": {"scope": "#/properties/fc","schema": {"enum": [1,2,5,15]}}}},{"type": "Control","label": "Type [t]","scope": "#/properties/t","rule": {"effect": "HIDE","condition": {"scope": "#/properties","schema": {"anyOf": [{"properties": {"tobin": {"const": true}},"required": ["tobin"]},{"properties": {"fc": {"enum": [1,2,5,15]}},"required": ["fc"]}]}}}}]},{"type": "Control","label": "Byte Swap [bs]","scope": "#/properties/bs","rule": {"effect": "SHOW","condition": {"scope": "#/properties/fc","schema": {"enum": [3,4,6,16]}}}},{"type": "Control","label": "Word Swap [ws]","scope": "#/properties/ws","rule": {"effect": "SHOW","condition": {"scope": "#/properties/dt","schema": {"enum": [4,8]}}}},{"type": "Control","label": "Double Word Swap [dws]","scope": "#/properties/dws","rule": {"effect": "SHOW","condition": {"scope": "#/properties/dt","schema": {"enum": [8]}}}},{"type": "Control","label": "Convert to binary status/control word [tobin]","scope": "#/properties/tobin","rule": {"effect": "HIDE","condition": {"scope": "#/properties","schema": {"anyOf": [{"properties": {"dt": {"enum": [4,8]}},"required": ["dt"]},{"properties": {"fc": {"enum": [1,2,5,15]}},"required": ["fc"]}]}}}},{"type": "Control","label": "Binary array [binA]","scope": "#/properties/binA","rule": {"effect": "SHOW","condition": {"scope": "#/properties","schema": {"allOf": [{"properties": {"tobin": {"const": true}},"required": ["tobin"]},{"properties": {"fc": {"enum": [3,4,6,16]}},"required": ["fc"]}]}}}}]},{"type": "HorizontalLayout","elements": [{"type": "Control","label": "Multiplier [mult]","scope": "#/properties/mult","rule": {"effect": "HIDE","condition": {"scope": "#/properties","schema": {"anyOf": [{"properties": {"tobin": {"const": true}},"required": ["tobin"]},{"properties": {"fc": {"enum": [1,2,5,15]}},"required": ["fc"]}]}}}},{"type": "Control","label": "Sum [sum]","scope": "#/properties/sum","rule": {"effect": "HIDE","condition": {"scope": "#/properties","schema": {"anyOf": [{"properties": {"tobin": {"const": true}},"required": ["tobin"]},{"properties": {"fc": {"enum": [1,2,5,15]}},"required": ["fc"]}]}}}},{"type": "Control","label": "Order [smo]","scope": "#/properties/smo","rule": {"effect": "HIDE","condition": {"scope": "#/properties","schema": {"anyOf": [{"properties": {"tobin": {"const": true}},"required": ["tobin"]},{"properties": {"fc": {"enum": [1,2,5,15]}},"required": ["fc"]}]}}}}]}]}}}]}
""